<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="chromewebstore_v1_1.html">Chrome Web Store API</a> . <a href="chromewebstore_v1_1.items.html">items</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#get">get(itemId, projection=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets your own Chrome Web Store item.</p>
<p class="toc_element">
  <code><a href="#insert">insert(media_body=None, media_mime_type=None, publisherEmail=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a new item.</p>
<p class="toc_element">
  <code><a href="#publish">publish(itemId, body=None, deployPercentage=None, publishTarget=None, reviewExemption=None, x__xgafv=None)</a></code></p>
<p class="firstline">Publishes an item.</p>
<p class="toc_element">
  <code><a href="#update">update(itemId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing item.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="get">get(itemId, projection=None, x__xgafv=None)</code>
  <pre>Gets your own Chrome Web Store item.

Args:
  itemId: string, Unique identifier representing the Chrome App, Chrome Extension, or the Chrome Theme. (required)
  projection: string, Determines which subset of the item information to return.
    Allowed values
      DRAFT - Return information extracted from the current draft.
      PUBLISHED - Return information extracted from the published item draft.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
  &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
  &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
    { # Error of the item
      &quot;error_code&quot;: &quot;A String&quot;, # The error code.
      &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
    },
  ],
  &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
  &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
  &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
}</pre>
</div>

<div class="method">
    <code class="details" id="insert">insert(media_body=None, media_mime_type=None, publisherEmail=None, x__xgafv=None)</code>
  <pre>Inserts a new item.

Args:
  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  publisherEmail: string, The email of the publisher who owns the items. Defaults to the caller&#x27;s email address.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
  &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
  &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
    { # Error of the item
      &quot;error_code&quot;: &quot;A String&quot;, # The error code.
      &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
    },
  ],
  &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
  &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
  &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
}</pre>
</div>

<div class="method">
    <code class="details" id="publish">publish(itemId, body=None, deployPercentage=None, publishTarget=None, reviewExemption=None, x__xgafv=None)</code>
  <pre>Publishes an item.

Args:
  itemId: string, The ID of the item to publish. (required)
  body: object, The request body.
    The object takes the form of:

{
  &quot;deployPercentage&quot;: 42, # The target deploy percentage of the item. It&#x27;s only useful for items with big user base.
  &quot;reviewExemption&quot;: True or False, # Optional. The caller request to exempt the review and directly publish because the update is within the list that we can automatically validate. The API will check if the exemption can be granted using real time data.
  &quot;target&quot;: &quot;A String&quot;, # The publish target of this publish operation. This is the same as using publishTarget as a URL query parameter. The string value can either be target=&quot;trustedTesters&quot; or target=&quot;default&quot;. The default value, if none is supplied, is target=&quot;default&quot;. Recommended usage is to use the URL query parameter to specificy the value.
}

  deployPercentage: integer, The deploy percentage you want to set for your item. Valid values are [0, 100]. If set to any number less than 100, only that many percentage of users will be allowed to get the update.
  publishTarget: string, Provide defined publishTarget in URL (case sensitive): publishTarget=&quot;trustedTesters&quot; or publishTarget=&quot;default&quot;. Defaults to publishTarget=&quot;default&quot;.
  reviewExemption: boolean, Optional. The caller request to exempt the review and directly publish because the update is within the list that we can automatically validate. The API will check if the exemption can be granted using real time data.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  &quot;item_id&quot;: &quot;A String&quot;, # The ID of this item.
  &quot;kind&quot;: &quot;A String&quot;, # Static string value is always &quot;chromewebstore#item&quot;.
  &quot;status&quot;: [ # The status code of this publish operation. It may contain multiple elements from the following list: NOT_AUTHORIZED, INVALID_DEVELOPER, DEVELOPER_NO_OWNERSHIP, DEVELOPER_SUSPENDED, ITEM_NOT_FOUND, ITEM_PENDING_REVIEW, ITEM_TAKEN_DOWN, PUBLISHER_SUSPENDED.
    &quot;A String&quot;,
  ],
  &quot;statusDetail&quot;: [ # Detailed human-comprehensible explanation of the status code above.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="update">update(itemId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
  <pre>Updates an existing item.

Args:
  itemId: string, The ID of the item to upload. (required)
  body: object, The request body.
    The object takes the form of:

{
  &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
  &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
  &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
    { # Error of the item
      &quot;error_code&quot;: &quot;A String&quot;, # The error code.
      &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
    },
  ],
  &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
  &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
  &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
}

  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
  &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
  &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
    { # Error of the item
      &quot;error_code&quot;: &quot;A String&quot;, # The error code.
      &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
    },
  ],
  &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
  &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
  &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
}</pre>
</div>

</body></html>